#!/bin/bash
if [ $(which pkexec) ]; then
	pkexec --disable-internal-agent "/usr/sbin/gsmartcontrol" "$@"
else
	/usr/bin/gsmartcontrol "$@"
fi
